//package org.springboot.sample.dao;
//
//import java.util.List;
//import java.util.UUID;
//
//import org.springboot.sample.entity.jpa.User;
//import org.springframework.data.jpa.repository.Modifying;
//import org.springframework.data.jpa.repository.Query;
//import org.springframework.data.repository.CrudRepository;
//import org.springframework.data.repository.query.Param;
//import org.springframework.transaction.annotation.Transactional;
//
//public interface IUserDao extends CrudRepository<User, UUID> {
//	
//	@Transactional
//	@Modifying
//	@Query("update tbt_test set first_name=:firstName,last_name=:lastName where id=:id")
//	int updateName(@Param("firstName") String firstName,@Param("lastName") String lastName,@Param("id") UUID id);
//	
//	@Query("select * from tbt_test")
//	List<User> getUsers();
//}
